const mongoose = require("mongoose");
mongoose.connect("mongodb://localhost:/test");
mongoose.Promise = Promise;
const User = mongoose.model("User", {
  name:String,
  password:String,
  role:String
});

module.exports = User;
